<div class="nav-item">
	<figure>
		<a href="/gallery/?pId={ID}"><img src="/{IMG}" width="490" alt="{NAME}"></a>
	</figure>
	<p class="nav-item-title">{NAME}</p>
</div>